package com.peanut.bosskg.entity.balance;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @param
 * @author LMH
 * @return
 * @description
 * @createby 2022-06-09 9:17
 */
@Data
public class SohoBalanceDTO implements Serializable {

    private static final long serialVersionUID = -1L;

    /**商户编号*/
    @ApiModelProperty(value = "商户编号")
    private String merId;

    /**姓名*/
    @ApiModelProperty(value = "姓名")
    private String name;

    /**身份证号*/
    @ApiModelProperty(value = "身份证号")
    private String idCard;

    /**服务商ID*/
    @ApiModelProperty(value = "服务商ID")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long providerId;

    @ApiModelProperty("剩余额度(单位：分)")
    private Long balance;
}
